package com.hrsaas.ext.spider.test.handler;

import com.hrsaas.ext.spider.core.HttpClient;

public class HttpClientFactory {

	/**
	 * http client
	 */
	private static final HttpClient client = HttpClient.builder()
			.followRedirects().create();

	public static HttpClient getClient() {
		return client;
	}
	
	public static void destory() {
		client.shutdown();
	}
	
}
